﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Student
    {
        public string name { get; set; }
        public int age { get; set; }
        public int num { get; set; }

        public Student(string name, int age, int num)
        {
            this.name = name;
            this.age = age;
            this.num = num;
        }
        public Student()
        {

        }
        public override string ToString()
        {
            return $"姓名：{name},年龄：{age},学号：{num}";
        }
    }
}
